package Huihu.src.刷题;

import java.text.DecimalFormat;
import java.util.Scanner;

public class 华氏温度 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        double f=scanner.nextDouble();
        double c=((f-32)*5)/9;
        DecimalFormat df = new DecimalFormat("0.00");
        System.out.println(df.format(f)+"F"+"="+df.format(c)+"C");
        /*
        精确到小数点后面的2位数
        double a=98.555
        DecimalFormat df = new DecimalFormat("0.00");
        System.out.println(df.format(a));
         */
    }
}
